import { defineStore } from "pinia";
import { StoreName } from "./store-name";

export const useUserInfoStore = defineStore(StoreName.USER_INFO, {
  state: () => {
    return {
      username: ''
    };
  },
  getters: {
    getUserNmae: (state: any) => state.username
  },
  persist: true
})